package decome03;

public class FruitTest {
    public static void main(String[] args) {
       Fruit a;
       a=new Apple("苹果","云南昭通",1);

       Fruit b;
       b=new Pear("雪梨","东北",5);
       Fruit c;
       c=new Mango("芒果","广西",1);
        System.out.println(a);
        System.out.println(b);
        System.out.println(c);

    }

}
